package com.woniu.utils;

import javax.servlet.http.HttpServletRequest;

/**
 * 浏览器信息工具类
 **/
public class BrowserUtil {
    /**
     * 获取User-Agent
     *
     * @param request
     * @return
     */
    public static String getUserAgent(HttpServletRequest request) {
        return request.getHeader("User-Agent");
    }
}

